<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <link rel="stylesheet" href="${ctx}/statics/css/update.css">
    <link rel="stylesheet" href="${ctx}/statics/css/common.css">
    <script type="text/javascript" src="${ctx}/appjs/account/withdrawManager.js"></script>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.css">
    <script src="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.js"></script>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.css">
    <script src="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.js"></script>
    <style>
        .fixed-table-toolbar {
            top: 0;
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>财务管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>提成结算</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

    var has_add = '';
    var has_edit = '';
    var has_delete = '';
    var FinanceManage_tenantOperator_update = false;
</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
                    <shiro:hasPermission name="FinanceManage_tenantOperator_reload">
                        <input id="memberIdAndNickname" name="memberIdAndNickname" type="text" class="form-control input-distance"
                               placeholder="请输入客户ID/名称">
                        <select type="text" class="form-control shortInput input-distance" name="memberType"
                                id="memberType">
                            <option value="">请选择</option>
                            <option value="0">加盟商</option>
                            <option value="1">渠道商</option>
                        </select>
                        <button class="btn btn-success marginright-auto input-distance"
                                onclick="withdrawManager.reLoad()">查询
                        </button>
                        <shiro:hasPermission name="StationManager_station_reload">
                            <button class="btn btn-success input-distance" onclick="withdrawManager.reset()">重置</button>
                        </shiro:hasPermission>
                        <button class="btn btn-success input-distance exportBtn" onclick="withdrawManager.exportList()">导出</button>

                    </shiro:hasPermission>

<%--                    <shiro:hasPermission name="FinanceManage_tenantOperator_export">--%>
<%--                        <button type="button" class="btn btn-success marginright-auto input-distance"--%>
<%--                                onclick="acctTenantOperator.exportAcctTenantOperator()">--%>
<%--                            导出--%>
<%--                        </button>--%>
<%--                    </shiro:hasPermission>--%>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<shiro:hasPermission name="FinanceManage_tenantOperator_update">
    <script>
        FinanceManage_tenantOperator_update = true;
    </script>
</shiro:hasPermission>
<script type="text/javascript">
    withdrawManager.init();
</script>
</body>
</html>
